<?php 
	ob_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<link rel="icon" type="SHORTCUT ICON" href="img/lp3i.ico" />
<title>Central Cell</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="../css/main.css" media="all" />
<!--[if IE 6]><link type="text/css" rel="stylesheet" href="css/ie6.css" media="all" /><![endif]-->
<link rel="stylesheet" type="text/css" href="css/accordion_glam.css" />
<script type="text/javascript" src="ajax1.js"></script>
<Script type="text/javascript">
window.history.forward(1);
</Script>
</head>
<body>
<?php
	require ("main_function.php"); 
	require ("header.php");
?> 
<div id="main">
<!-- header ends -->
<!-- content begins -->
<div id="content_bg">
<div id="maintop">
<?php 
	//require ("right.php");
?> 

<div id="test-accordion" class="accordion">
	<div id="isi">
	<table border="0" cellpadding="2" cellspacing="2" width="100%" id="tdall" align="center">
		<tr><td colspan="2" align="center" id="tdall" bgcolor="#5d5852"><H3><b>Hasil Tes Psikologi Kepribadian dan Minat Bakat</b></H3></td></tr>
		<tr>
			<td colspan="2">
			<br />
			Silakan pilih kategori pencarian dibawah ini, bisa berdasarkan sekolah asal dan juga bisa berdasarkan User ID anda<br />		
			Setelah pencarian ditemukan, klik pada User ID anda untuk melihat print out hasil dan penjelasan dari hasil tes ini.<br /><br />
			</td>
		</tr>
		<tr>
			<td>
			<form>
				Asal Sekolah :
				<select name="skol" onchange="showUser(this.value)">
				<?php
				$sql="select asalSkol from ttran_karak inner join tsiswa on ttran_karak.idSiswa=tsiswa.idSiswa group by asalSkol";
				$qry=mysql_query($sql) or die (mysql_error());
					echo '<option value="">--All--</option>';
					while($res=mysql_fetch_row($qry)){
					echo '<option value="'.$res[0].'">'.$res[0].'</option>';
					}
				?>
				</select>
			</form>
			</td>
		</tr>
		<tr>
			<td>
				<form>
				User ID :
				<input type="text" id="txt1" onkeyup="showSis(this.value)" />
				</form>
			</td>
		</tr>
	</table>
	
	<br />
	<div id="tampil"><b>Person info will be listed here.</b></div>
</div>
</div>
</div>
</div>
<?php 
	require ("footer.php");
?>
</body>
</html>
	<?php ob_end_flush(); ?>